<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue入门程序</title>
</head>
<body>

<div id="app">
    {{message}}
</div>

</body>


<script src="../../../lib/vue.global.js"></script>
<script>
    /**
     *   数据驱动
     *   1. 视图(html)模板 --  view template
     *   2. vue实例
     * */
    const app={
         data(){
              return {
                   message:"hello vue"
              }
         }
    }

    Vue.createApp(app).mount('#app');

</script>
</html>